package fr.upo.miage.dp.state.appareil.state;

public enum ApplianceState {

	// TODO: Comment the following definitions


	OFF {
			public ApplianceStateBehavior getStateBehavior(){ 
				return new OffState(); 
			}
		 },
	
	ON { 
			 public ApplianceStateBehavior getStateBehavior(){
				 return new OnState(); 
			} 
		},
		
	STOPPED { 
				public ApplianceStateBehavior getStateBehavior(){
				return new StoppedState(); 
				} 
			},
			
	STARTED { 
			public ApplianceStateBehavior getStateBehavior(){
				return new StartedState(); 
				}
			},
	 
	UNKNOW { 
		 public ApplianceStateBehavior getStateBehavior() {
			 return new UnknowState();
			}
		 };

	public ApplianceStateBehavior getStateBehavior() {
		return null;
	}

}
